package com.ruoyi.zhjd.exp.modules.asphaltrequires.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @ClassName: AsphaltRequiresController
 * @Description: 沥青类技术要求
 * @author zhaij
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("n_laboratory_asphalt_requires")
public class AsphaltRequiresEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /*
    *标号
    */
    private String name;
    /*
    *类型
    */
    private String type;


    /*
     *创建人
     */
    @TableField(fill = FieldFill.INSERT, updateStrategy = FieldStrategy.NEVER)
    private String insertBy;

    /*
     *修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE, updateStrategy = FieldStrategy.NEVER)
    private String updateBy;

    @TableLogic
    @TableField(fill = FieldFill.INSERT, updateStrategy = FieldStrategy.NEVER)
    private String deleted;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insertTime;// 插入时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime updateTime;// 更新时间

}
